package com.dao;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.po.RecruitDetailInfoPO;
@Repository
public class RecruitDetailDao {
	@Autowired
	private SqlSessionTemplate sqlTemplate;
	/**
	 * 查找招聘的详细信息
	 * @param id
	 * @return 
	 */
	public RecruitDetailInfoPO findRecruitDetailInfoById(String id) {
		return sqlTemplate.selectOne("recruitDetail.findRecruitDetailInfoById", id);
	}
	/**
	 * 修改详细的招聘信息
	 * @param recruitDetailInfoPO
	 */
	public void updateDetailInfo(RecruitDetailInfoPO recruitDetailInfoPO) {
		sqlTemplate.update("recruitDetail.updateDetailInfo", recruitDetailInfoPO);
	}
}
